package com.indexingsystem.boss.entity;


import java.io.Serializable;


public class Videos implements Serializable
{

    /**
	 * 
	 */
    private static final long serialVersionUID = -3893155986432167341L;

    private String resId;

    private String frontCover;

    private Integer videoType;

    private String videoSize;

    private String videoLength;

    private String fileType;

    private Integer baseType;

    // 格式：0：图片 1：音视频 2：动画
    private Integer format;

    private String literalWriter;

    private String photographer;

    private String shootingAddress;

    private String source;

    private String bookColumn;

    private String ages;

    private String master;

    private String frameAmount;

    private String description;
    
    private String sourcePath ;

    public String getResId()
    {
        return resId;
    }

    public void setResId(String resId)
    {
        this.resId = resId == null ? null : resId.trim();
    }

    public String getFrontCover()
    {
        return frontCover;
    }

    public void setFrontCover(String frontCover)
    {
        this.frontCover = frontCover == null ? null : frontCover.trim();
    }

    public Integer getVideoType()
    {
        return videoType;
    }

    public void setVideoType(Integer videoType)
    {
        this.videoType = videoType;
    }

    public String getVideoSize()
    {
        return videoSize;
    }

    public void setVideoSize(String videoSize)
    {
        this.videoSize = videoSize == null ? null : videoSize.trim();
    }

    public String getVideoLength()
    {
        return videoLength;
    }

    public void setVideoLength(String videoLength)
    {
        this.videoLength = videoLength == null ? null : videoLength.trim();
    }

    public String getFileType()
    {
        return fileType;
    }

    public void setFileType(String fileType)
    {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public String getFrameAmount()
    {
        return frameAmount;
    }

    public void setFrameAmount(String frameAmount)
    {
        this.frameAmount = frameAmount == null ? null : frameAmount.trim();
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description == null ? null : description.trim();
    }

    public Integer getBaseType()
    {
        return baseType;
    }

    public void setBaseType(Integer baseType)
    {
        this.baseType = baseType;
    }

    public Integer getFormat()
    {
        return format;
    }

    public void setFormat(Integer format)
    {
        this.format = format;
    }

    public String getLiteralWriter()
    {
        return literalWriter;
    }

    public void setLiteralWriter(String literalWriter)
    {
        this.literalWriter = literalWriter;
    }

    public String getPhotographer()
    {
        return photographer;
    }

    public void setPhotographer(String photographer)
    {
        this.photographer = photographer;
    }

    public String getShootingAddress()
    {
        return shootingAddress;
    }

    public void setShootingAddress(String shootingAddress)
    {
        this.shootingAddress = shootingAddress;
    }

    public String getSource()
    {
        return source;
    }

    public void setSource(String source)
    {
        this.source = source;
    }

    public String getBookColumn()
    {
        return bookColumn;
    }

    public void setBookColumn(String bookColumn)
    {
        this.bookColumn = bookColumn;
    }

    public String getAges()
    {
        return ages;
    }

    public void setAges(String ages)
    {
        this.ages = ages;
    }

    public String getMaster()
    {
        return master;
    }

    public void setMaster(String master)
    {
        this.master = master;
    }
    

    public String getSourcePath() {
		return sourcePath;
	}

	public void setSourcePath(String sourcePath) {
		this.sourcePath = sourcePath;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ages == null) ? 0 : ages.hashCode());
		result = prime * result + ((baseType == null) ? 0 : baseType.hashCode());
		result = prime * result + ((bookColumn == null) ? 0 : bookColumn.hashCode());
		result = prime * result + ((description == null) ? 0 : description.hashCode());
		result = prime * result + ((fileType == null) ? 0 : fileType.hashCode());
		result = prime * result + ((format == null) ? 0 : format.hashCode());
		result = prime * result + ((frameAmount == null) ? 0 : frameAmount.hashCode());
		result = prime * result + ((frontCover == null) ? 0 : frontCover.hashCode());
		result = prime * result + ((literalWriter == null) ? 0 : literalWriter.hashCode());
		result = prime * result + ((master == null) ? 0 : master.hashCode());
		result = prime * result + ((photographer == null) ? 0 : photographer.hashCode());
		result = prime * result + ((resId == null) ? 0 : resId.hashCode());
		result = prime * result + ((shootingAddress == null) ? 0 : shootingAddress.hashCode());
		result = prime * result + ((source == null) ? 0 : source.hashCode());
		result = prime * result + ((sourcePath == null) ? 0 : sourcePath.hashCode());
		result = prime * result + ((videoLength == null) ? 0 : videoLength.hashCode());
		result = prime * result + ((videoSize == null) ? 0 : videoSize.hashCode());
		result = prime * result + ((videoType == null) ? 0 : videoType.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Videos other = (Videos) obj;
		if (ages == null) {
			if (other.ages != null)
				return false;
		} else if (!ages.equals(other.ages))
			return false;
		if (baseType == null) {
			if (other.baseType != null)
				return false;
		} else if (!baseType.equals(other.baseType))
			return false;
		if (bookColumn == null) {
			if (other.bookColumn != null)
				return false;
		} else if (!bookColumn.equals(other.bookColumn))
			return false;
		if (description == null) {
			if (other.description != null)
				return false;
		} else if (!description.equals(other.description))
			return false;
		if (fileType == null) {
			if (other.fileType != null)
				return false;
		} else if (!fileType.equals(other.fileType))
			return false;
		if (format == null) {
			if (other.format != null)
				return false;
		} else if (!format.equals(other.format))
			return false;
		if (frameAmount == null) {
			if (other.frameAmount != null)
				return false;
		} else if (!frameAmount.equals(other.frameAmount))
			return false;
		if (frontCover == null) {
			if (other.frontCover != null)
				return false;
		} else if (!frontCover.equals(other.frontCover))
			return false;
		if (literalWriter == null) {
			if (other.literalWriter != null)
				return false;
		} else if (!literalWriter.equals(other.literalWriter))
			return false;
		if (master == null) {
			if (other.master != null)
				return false;
		} else if (!master.equals(other.master))
			return false;
		if (photographer == null) {
			if (other.photographer != null)
				return false;
		} else if (!photographer.equals(other.photographer))
			return false;
		if (resId == null) {
			if (other.resId != null)
				return false;
		} else if (!resId.equals(other.resId))
			return false;
		if (shootingAddress == null) {
			if (other.shootingAddress != null)
				return false;
		} else if (!shootingAddress.equals(other.shootingAddress))
			return false;
		if (source == null) {
			if (other.source != null)
				return false;
		} else if (!source.equals(other.source))
			return false;
		if (sourcePath == null) {
			if (other.sourcePath != null)
				return false;
		} else if (!sourcePath.equals(other.sourcePath))
			return false;
		if (videoLength == null) {
			if (other.videoLength != null)
				return false;
		} else if (!videoLength.equals(other.videoLength))
			return false;
		if (videoSize == null) {
			if (other.videoSize != null)
				return false;
		} else if (!videoSize.equals(other.videoSize))
			return false;
		if (videoType == null) {
			if (other.videoType != null)
				return false;
		} else if (!videoType.equals(other.videoType))
			return false;
		return true;
	}

	public Videos() {
		super();
	}

	public Videos(String resId, String frontCover, Integer videoType, String videoSize, String videoLength,
			String fileType, Integer baseType, Integer format, String literalWriter, String photographer,
			String shootingAddress, String source, String bookColumn, String ages, String master, String frameAmount,
			String description, String sourcePath) {
		super();
		this.resId = resId;
		this.frontCover = frontCover;
		this.videoType = videoType;
		this.videoSize = videoSize;
		this.videoLength = videoLength;
		this.fileType = fileType;
		this.baseType = baseType;
		this.format = format;
		this.literalWriter = literalWriter;
		this.photographer = photographer;
		this.shootingAddress = shootingAddress;
		this.source = source;
		this.bookColumn = bookColumn;
		this.ages = ages;
		this.master = master;
		this.frameAmount = frameAmount;
		this.description = description;
		this.sourcePath = sourcePath;
	}

	@Override
	public String toString() {
		return "Videos [resId=" + resId + ", frontCover=" + frontCover + ", videoType=" + videoType + ", videoSize="
				+ videoSize + ", videoLength=" + videoLength + ", fileType=" + fileType + ", baseType=" + baseType
				+ ", format=" + format + ", literalWriter=" + literalWriter + ", photographer=" + photographer
				+ ", shootingAddress=" + shootingAddress + ", source=" + source + ", bookColumn=" + bookColumn
				+ ", ages=" + ages + ", master=" + master + ", frameAmount=" + frameAmount + ", description="
				+ description + ", sourcePath=" + sourcePath + "]";
	}

	
}